package com.art.sunflower.pojo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Work implements Serializable {
    private int id;
    private String workName;
    private int classesId;
    private int stuId;
    private String url;
    private String type;
    private Date date;
    private Boolean rank;
    private int teacherId;

    public Work(String url, String workName, int classesId, int stuId, Date date, String type) {
        this.url = url;
        this.workName = workName;
        this.classesId = classesId;
        this.stuId = stuId;
        this.date = date;
        this.type = type;
    }

    public Work() {

    }

}
